/**
 * Copyright &copy; 2020 <a href="https://github.com/somowhere/exam-system">exam-system</a> All rights reserved.
 */
package com.shanhesoft.java.modules.exam.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.shanhesoft.java.common.core.vo.TreeNode;
import com.shanhesoft.java.common.persistence.service.TreeService;
import com.shanhesoft.java.modules.exam.domain.TQuestionBank;
import com.shanhesoft.java.modules.exam.domain.dto.TQuestionBankDto;
import com.shanhesoft.java.modules.exam.domain.dto.TQuestionBankQueryCriteria;
import com.shanhesoft.java.modules.exam.domain.vo.TQuestionBankVo;

import java.util.List;

/**
 * 题库管理Service 题库管理
 * @author admin
 * @version 2020-09-17 11:57:21
 */
public interface TQuestionBankService extends TreeService<TQuestionBank, TQuestionBankDto> {
	/**
	 * 查询题库树结构
	 * @return
	 */
	public IPage<TQuestionBankVo> findTreeList(TQuestionBankQueryCriteria tQuestionBankQueryCriteria);

	/**
	 * 查询题库树结构
	 * @return
	 */
	public List<TreeNode> findBankTreeNode(TQuestionBankQueryCriteria tQuestionBankQueryCriteria);
}
